
		class Method {
			
			
			static int[][] copy(int[][] array){

				
				//Condition to return NULL!!:
				
				if (array == null){
					return null;
					
				}
				
				else{
					int[][] arrayCopy;
					arrayCopy = new int[array.length][];
				//Loop to set lengths
				for(int y = 0; y < array.length;y++){
					
					arrayCopy[y] = new int[array[y].length];
				}
				
				//Loop to copy... NOTE: Can not set lengths and copy in same loop!!
				for (int y = 0; y < array.length; y++){
				    for (int x = 0; x < array[y].length; x++){
				        arrayCopy[y][x] = array[y][x];
				        
				    }
				}

				return arrayCopy;
			}
			}

}
